using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public static class EventManager 
{
    public delegate void scoreEvent(int score);
    public static event scoreEvent OnScore;
    
    public static void AddSocre(int socre)
    {
        if (OnScore != null)
        {
            OnScore(socre);
        }
    }
    
    
}
